package cn.com.yiqi.wsc.dao.shop;

import cn.com.yiqi.wsc.Ro.SubjectItemVO;
import cn.com.yiqi.wsc.entity.shop.AppSubject;
import cn.com.yiqi.wsc.entity.shop.AppSubjectExample;
import java.util.List;

import cn.com.yiqi.wsc.entity.shop.AppSubjectItem;
import org.apache.ibatis.annotations.Param;

public interface AppSubjectMapper {
    int countByExample(AppSubjectExample example);

    int deleteByExample(AppSubjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AppSubject record);

    int insertSelective(AppSubject record);

    List<AppSubject> selectByExample(AppSubjectExample example);

    AppSubject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AppSubject record, @Param("example") AppSubjectExample example);

    int updateByExample(@Param("record") AppSubject record, @Param("example") AppSubjectExample example);

    int updateByPrimaryKeySelective(AppSubject record);

    int updateByPrimaryKey(AppSubject record);

    List<SubjectItemVO> selectSubjectList(Integer id);

    List<AppSubject> selectByType(Integer type);
}